package com.itfitness.opengl

import android.content.Context
import android.opengl.GLSurfaceView
import android.util.AttributeSet

/**
 *
 * @ProjectName:    OpenGL
 * @Package:        com.itfitness.opengl
 * @ClassName:      MyGLSurfaceView
 * @Description:     java类作用描述
 * @Author:         itfitness
 * @CreateDate:     2023-03-11 12:48
 * @UpdateUser:     更新者：
 * @UpdateDate:     2023-03-11 12:48
 * @UpdateRemark:   更新说明：
 */
class MyGLSurfaceView : GLSurfaceView {
    constructor(context: Context):this(context, null)
    constructor(context: Context, attrs: AttributeSet?):super(context, attrs){
        setEGLContextClientVersion(3)
        val render = MyRender(this)
        setRenderer(render)
    }
}